<?php
/**
 * @var \omnilight\scheduling\Schedule $schedule
 */

$path = Yii::getAlias('@runtime').'/logs/';

$file = $path . 'test.log';
$schedule->command('com/index')->cron('* * * * *')->appendOutputTo($file);